<script type="text/javascript" src="<?=userassets?>core_js/pay_pass.js"></script>
<body>
<?=pay_passtemplate()?>
<div class="container-fluid p-t-15">
    <div class="row"> 
    <div class="col-md-12 col-lg-12 col-xl-6">
        <div class="card bg-white m-b-30">
            <div class="card-body new-user">
                <h5 class="header-title mb-4 mt-0"> 支付设置</h4>
                <div class="panel-body">
                    
                    <h4>当前支付页面使用模板：</h4>
                    <div class="row text-center">
                        <div class="col-xs-6 col-sm-4">
                            <img class="img-responsive img-thumbnail img-rounded" src="/Submit/Template/<?php echo $userrow['pay_template']?>/preview.png" onerror="this.src='/Submit/Template/<?php echo $userrow['pay_template']?>/preview.png'">
                        </div>
                        <div class="col-xs-6 col-sm-4">
                            <p>模板名称：<?php echo $userrow['pay_template']?></p>
                        </div>
                    </div>
                    <hr/>
                    <h4>更换模板：</h4>
                    <div class="row text-center">
                        <?=userpay_set_template()?>
                    </div>
                 </div>     
              </div> 
            </div>
        </div>   
         <div class="col-md-12 col-lg-12 col-xl-6">
             <div class="card bg-white m-b-30">
                <div class="card-body new-user">
                    <h5 class="header-title mb-4 mt-0">更多设置</h4>
                        <div class="panel-body">
                            <div class="form-group">
                                <label>支付宝扫码免输入模式(个别账户会风控!)</label>
                                <select class="form-control" id="INPUTFREE" name="INPUTFREE" default="">
                                    <option value="0" <?= $userrow['INPUTFREE'] == '0' ? "selected" : "" ?>>[模式①]免输入关闭（风控值：中）</option>
                                    <option value="1" <?= $userrow['INPUTFREE'] == '1' ? "selected" : "" ?>>[模式②]转账免输入开启（风控值：低）</option>
									<option value="2" <?= $userrow['INPUTFREE'] == '2' ? "selected" : "" ?>>[模式③]金额锁死免输入开启（风控值：高）</option>
									<option value="3" <?= $userrow['INPUTFREE'] == '3' ? "selected" : "" ?>>[模式④]花呗锁死免输入开启（风控值：低）</option>
									<option value="4" <?= $userrow['INPUTFREE'] == '4' ? "selected" : "" ?>>[模式⑤]蚂蚁森林锁死免输入开启（风控值：低）</option>
									<option value="5" <?= $userrow['INPUTFREE'] == '5' ? "selected" : "" ?>>[模式⑥]滴滴锁死免输入开启（风控值：低）</option>
                                </select>
                             </div>
                             <div class="form-group">
                                <label>订单超时时间(秒):</label>
                                <input type="text" id="outtime" name="outtime" value="<?=$userrow['outtime']?>" class="form-control" ><font color="green">如不设置默认"<?php echo $conf['outtime'];?>"秒,5分钟超时请填写"300"</font>
                            </div>  
                             <div class="form-group">
                                 <label>是否屏蔽微信浏览器</label>
                                 <select class="form-control" id="wxpb_llq" name="wxpb_llq" >
                                     <option value="0" <?= $userrow['wxpb_llq'] == '0' ? "selected" : "" ?>>[模式①]不屏蔽</option>
									 <option value="1" <?= $userrow['wxpb_llq'] == '1' ? "selected" : "" ?>>[模式②]屏蔽</option>
								 </select>	 
								 <b style="color:red">对于微信云端无法识别 那么我们就在根源去解决问题 直接屏蔽它丫的，开启后跟用户说发给朋友即可无上限，默认关闭</b>
							</div>
							<div class="form-group">
							    <label>会员过期提醒</label>
							    <select class="form-control" id="user_vips" name="user_vips">
							        <option value="0" <?= $userrow['user_vips'] == '0' ? "selected" : "" ?>>关闭</option>
							        <option value="1" <?= $userrow['user_vips'] == '1' ? "selected" : "" ?>>开启</option>
								</select>
							</div>
							<div class="form-group">
							    <button type="sumbit" class="btn btn-primary btn-block" onclick="pay_set();">确定修改</button>
							 </div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
<script src="<?=userassets?>core_js/Pay_Set.js"></script>